package designpattern

type Mediator interface {
	service()
}

type ControllerMediator struct {
}

func (controller ControllerMediator) service() {

}

type Colleague interface {
	call()
}

type ViewColleague struct {
	Mediator
}

type DaoColleague struct {
	Mediator
}
